package com.link.base.base.mptmpl.controller;

import com.link.base.base.mptmpl.model.MpTmplRule;
import com.link.base.base.mptmpl.service.MpTmplRuleService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 小程序模板应用规则
 *
 * @author 姚润发
 * @date 2020-07-23 15:15:30
 */
@Controller
@RequestMapping("/link/mpTmplRule")
public class MpTmplRuleController extends BasicController<MpTmplRule> {

    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private MpTmplRuleService mpTmplRuleService;

    @Override
    public BasicService<MpTmplRule> getBasicService() throws Exception {
        return mpTmplRuleService;
    }
}
